<a class="btn btn-xs btn-danger" data-toggle="modal" data-target="#related">回访记录</a>

<div class="modal fade" id="related" tabindex="-1" role="dialog" aria-labelledby="related" aria-hidden="true">
    <div class="modal-dialog modal-xs">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="font-size: 36px;">&times;</button>
                <h4 class="modal-title" id="myModalLabel">回访记录</h4>
            </div>
            <div class="modal-body">
                <div style="overflow-x:auto;white-space:nowrap;">
                    <table class="table table-hover grid-table">
                        <thead style="text-align:center">
                        <tr>
                            <th>状态</th>
                            <th>备注</th>
                            <th>时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        @if(!empty($extends))
                            @foreach($extends as $value)
                                <tr>
                                    <td>{{ $value['status'] }}</td>
                                    <td>{{ $value['remark'] }}</td>
                                    <td>{{ $value['time'] }}</td>
                                </tr>
                            @endforeach
                        @endif
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

